﻿package game.objects {
	
	import game.objects.GameObject;
	
	public class UserApiObject {
		
		public var uid:String;
		public var first_name:String;
		public var last_name:String;
		public var nickname:String;
		public var photo:String;
		public var sex:int;
		public var link:String;
		
		public function UserApiObject( uid:String, first_name:String, last_name:String, nickname:String, photo:String, sex:int, link:String ):void {
			
			this.uid		= uid;
			this.first_name	= first_name;
			this.last_name	= last_name;
			this.nickname	= nickname;
			this.photo		= photo;
			this.sex		= sex;
			this.link		= link;
			
		}
		
		public function toString():String { return GameObject.formatToString(this, 'uid', 'first_name', 'last_name', 'nickname', 'photo', 'sex', 'link'); }
		
		
	}
	
}